home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / vbcc / errors.h < prev    next >
Text File  |  1995-11-23  |  9KB  |  163 lines

  1. "declaration expected",ERROR|ANSIV|FATAL,                           /*  0   */
  2. "only one input file allowed",MESSAGE|FATAL,                        /*  1   */
  3. "Flag <%s> specified more than once",MESSAGE,                       /*  2   */
  4. "Flag <%s> needs string",MESSAGE|FATAL,                             /*  3   */
  5. "Flag <%s> needs value",MESSAGE|FATAL,                              /*  4   */
  6. "Unknown Flag <%s>",MESSAGE|FATAL,                                  /*  5   */
  7. "No input file",MESSAGE|FATAL,                                      /*  6   */
  8. "Could not open <%s> for input",MESSAGE|FATAL,                      /*  7   */
  9. "need a struct or union to get a member",ERROR|ANSIV,
  10. "too many (%d) nested blocks",ERROR|FATAL,
  11. "left block 0",ERROR|ANSIV,                                         /*  10  */
  12. "uncomplete struct <%s>",ERROR|ANSIV,
  13. "out of memory",ERROR|FATAL,
  14. "redeclaration of struct <%s>",ERROR|ANSIV,
  15. "uncomplete type (%s) in struct",ERROR|ANSIV,
  16. "function (%s) in struct/union",ERROR|ANSIV,                        /*  15  */
  17. "redeclaration of struct/union member <%s>",ERROR|ANSIV,
  18. "redeclaration of <%s>",ERROR|ANSIV,
  19. "invalid constant expression",ERROR|ANSIV,
  20. "array dimension must be constant integer",ERROR|ANSIV,
  21. "no declarator and no identifier in prototype",ERROR|ANSIV,         /*  20  */
  22. "invalid storage-class in prototype",ERROR|ANSIV,
  23. "void not the only function argument",ERROR|ANSIV,
  24. "<%s> no member of struct/union",ERROR|ANSIV,
  25. "increment/decrement is only allowed for aithmetic and pointer types",ERROR|ANSIV,
  26. "functions may not return arrays or functions",ERROR|ANSIV,         /*  25  */
  27. "only pointers to functions can be called",ERROR|ANSIV,
  28. "redefinition of var <%s>",ERROR|ANSIV,
  29. "redeclaration of var <%s> with new storage-class",ERROR|ANSIV,
  30. "first operand of conditional-expression must be arithmetic or pointer type",ERROR|ANSIV,
  31. "multiple definitions of var <%s>",ERROR|ANSIV,                     /*  30  */
  32. "operands of : do not match",ERROR|ANSIV,
  33. "function definition in inner block",ERROR|ANSIV,
  34. "redefinition of function <%s>",ERROR|ANSIV,
  35. "invalid storage-class for function",ERROR|ANSIV,
  36. "declaration-specifiers expected",ERROR|ANSIV,                      /*  35  */
  37. "declarator expected",ERROR|ANSIV,
  38. "<%s> is no parameter",ERROR|ANSIV,
  39. "assignment of different structs/unions",ERROR|ANSIV,
  40. "invalid types for assignment",ERROR|ANSIV,
  41. "only 0 can be compared against pointer",WARNING|ANSIV,             /*  40  */
  42. "pointers do not point to the same type",WARNING|ANSIV,
  43. "function initialized",ERROR|ANSIV,
  44. "initialization of uncomplete struct",ERROR|ANSIV,
  45. "initialization of uncomplete union",ERROR|ANSIV,
  46. "empty initialization",ERROR|ANSIV,                                 /*  45  */
  47. "initializer not a constant",ERROR|ANSIV,
  48. "double type-specifier",WARNING|ANSIV,
  49. "illegal type-specifier",WARNING|ANSIV,
  50. "multiple storage-classes",WARNING|ANSIV,
  51. "storage-class specifier should be first",WARNING|ANSIV,            /*  50  */
  52. "bitfields must be ints",WARNING|ANSIV,
  53. "bitfield width must be constant integer",WARNING|ANSIV,
  54. "struct/union member needs identifier",WARNING|ANSIV,
  55. "; expected",WARNING|ANSIV,
  56. "struct/union has no members",WARNING|ANSIV,                        /*  55  */
  57. "} expected",WARNING|ANSIV,
  58. ", expected",WARNING|ANSIV,
  59. "invalid unsigned",WARNING|ANSIV,
  60. ") expected",WARNING|ANSIV,
  61. "array dimension has sidefx (will be ignored)",WARNING|ANSIV,       /*  60  */
  62. "array of size 0 (set to 1)",WARNING|ANSIV,
  63. "] expected",WARNING|ANSIV,
  64. "mixed identifier- and parameter-type-list",WARNING|ANSIV,
  65. "var <%s> was never assigned a value",WARNING,
  66. "var <%s> was never used",WARNING,                                  /*  65  */
  67. "invalid storage-class",WARNING|ANSIV,
  68. "type defaults to int",WARNING,
  69. "redeclaration of var <%s> with new type",WARNING|ANSIV,
  70. "redeclaration of parameter <%s>",WARNING|ANSIV,
  71. ": expected",WARNING|ANSIV,                                         /*  70  */
  72. "illegal escape-sequence in string",WARNING|ANSIV,
  73. "character constant contains multiple chars",WARNING,
  74. "could not evaluate sizeof-expression",ERROR|ANSIV,
  75. "\" expected (unterminated string)",ERROR|ANSIV,
  76. "something wrong with numeric constant",ERROR|ANSIV,                /*  75  */
  77. "identifier expected",ERROR|ANSIV|FATAL,
  78. "definition does not match previous declaration",WARNING|ANSIV,
  79. "integer added to illegal pointer",WARNING|ANSIV,
  80. "offset equals size of object",WARNING,
  81. "offset out of object",WARNING|ANSIV,                               /*  80  */
  82. "only 0 should be cast to pointer",WARNING,
  83. "unknown identifier <%s>",ERROR|ANSIV,
  84. "too few function arguments",WARNING|ANSIV,
  85. "division by zero (result set to 0)",WARNING|ANSIV,
  86. "assignment of different pointers",WARNING|ANSIV,                    /*  85  */
  87. "lvalue required for assignment",ERROR|ANSIV,
  88. "assignment to constant type",ERROR|ANSIV,
  89. "assignment to uncomplete type",ERROR|ANSIV,
  90. "operands for || and && have to be arithmetic or pointer",ERROR|ANSIV,
  91. "bitwise operations need integer operands",ERROR|ANSIV,             /*  90  */
  92. "assignment discards const",WARNING|ANSIV,
  93. "relational expression needs arithmetic or pointer type",ERROR|ANSIV,
  94. "need arithmetic type to test against pointer",ERROR|ANSIV,
  95. "operand needs arithmetic type",ERROR|ANSIV,
  96. "pointer arithmetic with void * is not possible",ERROR|ANSIV,       /*  95  */
  97. "pointers can only be subtracted",ERROR|ANSIV,
  98. "invalid types for operation <%s>",ERROR|ANSIV,
  99. "invalid operand type",ERROR|ANSIV,
  100. "integer-pointer is not allowed",ERROR|ANSIV,
  101. "assignment discards volatile",WARNING|ANSIV,                       /*  100 */
  102. "<<, >> and % need integer operands",ERROR|ANSIV,
  103. "casting from void is not allowed",ERROR|ANSIV,
  104. "integer too large to fit into pointer",ERROR|ANSIV,
  105. "only integers can be cast to pointers",ERROR|ANSIV,
  106. "invalid cast",ERROR|ANSIV,                                         /*  105 */
  107. "pointer too large to fit into integer",ERROR|ANSIV,
  108. "unary operator needs arithmetic type",ERROR|ANSIV,
  109. "negation type must be arithmetic or pointer",ERROR|ANSIV,
  110. "complement operator needs integer type",ERROR|ANSIV,
  111. "pointer assignment with different qualifiers",WARNING|ANSIV,       /*  110 */
  112. "dereferenced object is no pointer",ERROR|ANSIV,
  113. "dereferenced object is uncomplete",ERROR|ANSIV,
  114. "only 0 should be assigned to pointer",WARNING|ANSIV,
  115. "typedef <%s> is initialized",WARNING|ANSIV,
  116. "lvalue required to take address",ERROR|ANSIV,                      /*  115 */
  117. "unknown var <%s>",ERROR|ANSIV,
  118. "address of register variables not available",ERROR|ANSIV,
  119. "var <%s> initialized after \'extern\'",WARNING|ANSIV,
  120. "const var <%s> not initialized",WARNING,
  121. "function definition after \'extern\'",WARNING|ANSIV,               /*  120 */
  122. "return type of main is not int",WARNING|ANSIV,
  123. "invalid storage-class for function parameter",WARNING|ANSIV,
  124. "formal parameters conflict with parameter-type-list",WARNING|ANSIV,
  125. "parameter type defaults to int",WARNING,
  126. "no declaration-specifier, used int",WARNING|ANSIV,                 /*  125 */
  127. "no declarator in prototype",WARNING|ANSIV,
  128. "static var <%s> never defined",WARNING,
  129. "} expected",WARNING,
  130. "left operand of comma operator has no side-effects",WARNING,
  131. "label empty",ERROR|ANSIV,                                          /*  130 */
  132. "redefinition of label <%s>",ERROR|ANSIV,
  133. "case without switch",ERROR|ANSIV,
  134. "case-expression must be constant",ERROR|ANSIV,
  135. "case-expression must be integer",ERROR|ANSIV,
  136. "empty if-expression",ERROR|ANSIV,                                  /*  135 */
  137. "if-expression must be arithmetic or pointer",ERROR|ANSIV,
  138. "empty switch-expression",ERROR|ANSIV,
  139. "switch-expression must be integer",ERROR|ANSIV,
  140. "multiple default labels",ERROR|ANSIV,
  141. "while-expression must be arithmetic or pointer",ERROR|ANSIV,       /*  140 */
  142. "empty while-expression",ERROR|ANSIV,
  143. "for-expression must be arithmetic or pointer",ERROR|ANSIV,
  144. "do-while--expression must be arithmetic or pointer",ERROR|ANSIV,
  145. "goto without label",ERROR|ANSIV,
  146. "continue not within loop",ERROR|ANSIV,                             /*  145 */
  147. "break not in matching construct",ERROR|ANSIV,
  148. "label <%s> was never defined",ERROR|ANSIV,
  149. "label <%s> was never used",WARNING,
  150. "register %s not ok",WARNING,
  151. "default not in switch",WARNING|ANSIV,                              /*  150 */
  152. "( expected",WARNING|ANSIV,
  153. "loop eliminated",WARNING,
  154. "statement has no effect",WARNING,
  155. "\'while\' expected",WARNING|ANSIV,
  156. "function should not return a value",WARNING|ANSIV,                 /*  155 */
  157. "function should return a value",WARNING|ANSIV,
  158. "{ expected",WARNING|ANSIV,
  159. "internal error %d in line %d of file %s !!",ERROR|INTERNAL|FATAL,
  160. "there is no message number %d",MESSAGE|FATAL,
  161. "message number %d cannot be suppressed",MESSAGE|FATAL,             /*  160 */
  162.  
  163.